//
//  SEGSubmitUserAtuhViewModel.h
//  SEGViewModel
//
//  Created by 山刘 on 2020/6/5.
//

#import <Foundation/Foundation.h>
#import "SEGCommunityBuildListModel.h"
#import "SEGUserHouserRequestManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface SEGSubmitUserAtuhViewModel : NSObject
/**
 是否为人工审核，默认为否
 */
@property (nonatomic, assign) BOOL isManual;
/** 楼栋 */
@property (nonatomic, strong) SEGCommunityBuildListModel *buidingModel;
/** 单元 */
@property (nonatomic, strong) SEGUnitByBuildIdModel *unitModel;
/** 房号 */
@property (nonatomic, strong) SEGHouseByUnitModel *houseModel;
/** 房屋关系主键ID */
@property (nonatomic, copy) NSString* relId;
/**
 网络请求
 */
@property (nonatomic, strong)SEGUserHouserRequestManager *requestManager;

/// 提交人工审核
@property (nonatomic, strong) RACCommand *userAuthorCommand;
/// 点击人工审核
@property (nonatomic, strong) RACCommand *userAuthorFailCommand;
/// 自动刷新用户信息
@property (nonatomic, strong) RACCommand *freshProfileCommand;

@property (nonatomic, strong) RACSubject *messageDataSubject;

/// 申请人姓名
@property (nonatomic, copy) NSString *proposerNameString;
/// 预留手机号
@property (nonatomic, copy) NSString *proposerPhoneString;

/// 姓名
@property (nonatomic, copy) NSString *nameString;
/// 手机号
@property (nonatomic, copy) NSString *phoneString;

@property (nonatomic, strong) NSString *userTypeCode;

/**
 *  检测提交数据
 */
- (BOOL)checkSubmitData;
@end

NS_ASSUME_NONNULL_END
